package com.wangjie.account.service;

import com.wangjie.account.domain.Account;
import com.baomidou.mybatisplus.extension.service.IService;

public interface AccountService extends IService<Account> {
    /**
     * 从用户账户中扣减
     *
     * @param userId 用户id
     * @param money  扣减金额
     */
    void debit(String userId, int money);
}